package top.fzqblog.firstapp;

import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.Window;
import android.widget.ProgressBar;

/**
 * Created by 抽离 on 2017/8/17 0017.
 */

public class ProgressBarTest extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_PROGRESS);
        requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
        setProgressBarVisibility(true);
        setProgressBarIndeterminateVisibility(false);
        setProgress(1000);
        setContentView(R.layout.progressbar);

        ProgressBar progressBar = (ProgressBar) findViewById(R.id.progressBar3);
    }
}
